body {font-family: "宋体"; font-size: 12pt; width: 100%; border: 1px inset buttonface; border-left: 0px; background-color: buttonface }

table#editor { width: 100%; height: 100%; border: 0px; visibility: hidden; }

td.textedit { }

.textedit div.document {
	height: 150;
	font-family: "宋体";
	background-color: window;
	border: 2px inset buttonface; padding:5;
}

/* rebar styles ***************************************************************/
td.rebar { padding:0; padding-bottom:2; padding-top:2;
	font-family: "宋体"; font-size: xx-small; vertical-align: middle;
}

td.spacer {
	border-top: 1px solid buttonhighlight;
	padding: 0; margin: 0; height: 4;
}

.rebar span.toolbar {
	border-top: 1px solid buttonhighlight;
	border-left: 1px solid buttonhighlight;
	border-bottom: 1px solid buttonshadow;
	border-right: 1px solid buttonshadow;
	padding: 0; margin: 0; padding-bottom:1; padding-top:1;
}

.rebar span.spacer { width: 2px; }

.rebar span.start {
	margin:0;
	background-color: buttonface;
	border-top: 1px solid buttonhighlight;
	border-left: 1px solid buttonhighlight;
	border-bottom: 1px solid buttonshadow;
	border-right: 1px solid buttonshadow;
	width: 3px;
	height: 18px;
}

.rebar span.label { border:0; position:relative; top: -2; margin-left: 3; font-family:"宋体"; font-size:10pt}

.rebar span.sep {
	margin:0;
	background-color: buttonface;
	border-top: 1px solid buttonshadow;
	border-left: 1px solid buttonshadow;
	border-bottom: 1px solid buttonhighlight;
	border-right: 1px solid buttonhighlight;
	width: 2px;
	height: 18px;
}

.rebar select {
	font-family: "宋体"
	font-size: 11px;
	margin-top: 1; margin-bottom: 1;
	width : 100px;
}

.rebar .fontselect  {
        font-family: "宋体"
	font-size: 11px;
	margin-top: 1; margin-bottom: 1;
	width : 200px;
}

.rebar option { border: 5px solid red; }

.rebar span.field {
	border-top: 1px solid buttonhighlight;
	border-left: 1px solid buttonhighlight;
	border-bottom: 1px solid buttonshadow;
	border-right: 1px solid buttonshadow;
	padding: 0; margin: 0; padding-bottom:1; padding-top:1;
}

.rebar .field span.label {
	margin-left: 0;
	padding-left: 8; width: 60;
}

.rebar .field span.start {
	position: relative; top: 1;

}

.rebar .field input.field {
	border-top: 1px solid buttonshadow;
	border-left: 1px solid buttonshadow;
	border-bottom: 1px solid buttonhighlight;
	border-right: 1px solid buttonhighlight;
	height: 20px; margin: 0px; 
	margin-bottom: -1px;
}

.rebar img {
	border: 1px solid buttonface; margin:0; padding:1;
	cursor: hand;
}

.rebar img.hover {
	border-top: 1px solid buttonhighlight;
	border-left: 1px solid buttonhighlight;
	border-bottom: 1px solid buttonshadow;
	border-right: 1px solid buttonshadow;
}

.rebar img.down {
	border-bottom: 1px solid buttonhighlight;
	border-right: 1px solid buttonhighlight;
	border-top: 1px solid buttonshadow;
	border-left: 1px solid buttonshadow;
}

.rebar img.disabled {
	border: 1px solid buttonface; margin:0; padding:0;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
	cursor: normal;
}

.rebar img.spacer {
	cursor: normal;
}

/* table control styles ***************************************************************/
td.tbl { padding:0; padding-bottom:0; padding-top:0;
	font-family: "宋体"; font-size: xx-small; vertical-align: middle;
}

td.spacer {
	border-top: 1px solid buttonhighlight;
	padding: 0; margin: 0; height: 4;
}

.tbl img {
	border: 1px solid buttonface; margin:0; padding:1;
	cursor: hand;
}

.tbl img.hover {
	border-top: 1px solid buttonhighlight;
	border-left: 1px solid buttonhighlight;
	border-bottom: 1px solid buttonshadow;
	border-right: 1px solid buttonshadow;
}

.tbl img.down {
	border-bottom: 1px solid buttonhighlight;
	border-right: 1px solid buttonhighlight;
	border-top: 1px solid buttonshadow;
	border-left: 1px solid buttonshadow;
}

.tbl img.disabled {
	border: 1px solid buttonface; margin:0; padding:0;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
	cursor: normal;
}

.tbl img.spacer {
	cursor: normal;
}


/* control styles ***************************************************************/
object#color {
	position: absolute;
	width:252; height: 225;
	display: none;
	background-color: white; border: 1px outset buttonface
}
